/*
 * Copyright (C) 拾光分享网 
 * All rights reserved, Designed By www.hiai.top.
 * Email：goodsking@163.com.
 * Version：V1.0.2(20230701).
 */
package top.hiai.common.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top
* @Introduction 类的介绍
*/
@SuppressWarnings("serial")
public abstract class MessageBase<M extends MessageBase<M>> extends Model<M> implements IBean {
	
	public void setMid(java.lang.Integer mid) {
		set("mid", mid);
	}
	
	public java.lang.Integer getMid() {
		return getInt("mid");
	}
	
	public void setUserId(java.lang.Integer userId) {
		set("userId", userId);
	}
	
	public java.lang.Integer getUserId() {
		return getInt("userId");
	}
	
	public void setFriendId(java.lang.Integer friendId) {
		set("friendId", friendId);
	}
	
	public java.lang.Integer getFriendId() {
		return getInt("friendId");
	}
	
	public void setSendId(java.lang.Integer sendId) {
		set("sendId", sendId);
	}
	
	public java.lang.Integer getSendId() {
		return getInt("sendId");
	}
	
	public void setUid(java.lang.Integer uid) {
		set("uid", uid);
	}
	
	public java.lang.Integer getUid() {
		return getInt("uid");
	}
	
	public void setContent(java.lang.String content) {
		set("content", content);
	}
	
	public java.lang.String getContent() {
		return getStr("content");
	}
	
	public void setType(java.lang.Integer type) {
		set("type", type);
	}
	
	public java.lang.Integer getType() {
		return getInt("type");
	}
	
	public void setAddtime(java.util.Date addtime) {
		set("addtime", addtime);
	}
	
	public java.util.Date getAddtime() {
		return get("addtime");
	}
}